package org.kalai.unifypay;

import org.kalai.unifypay.util.PropertiesUtil;

/**
 * @ClassName: Constant
 * @Description: TODO
 * @author Renne66 465119455@qq.com
 * @date 2016年5月4日 下午2:06:35
 * 
 */
public class Constant {
	// 数据库配置
	public static final String JDBC_DRIVER = PropertiesUtil.getProperties("jdbc.driver");
	public static final String JDBC_URL = PropertiesUtil.getProperties("jdbc.url");
	public static final String JDBC_USERNAME = PropertiesUtil.getProperties("jdbc.username");
	public static final String JDBC_PASSWORD = PropertiesUtil.getProperties("jdbc.password");
	// 支付宝配置
	public static final String MS_URL = PropertiesUtil.getProperties("MS_URL");
	public static final String MS_COOPERATOR = PropertiesUtil.getProperties("MS_COOPERATOR");
	public static final String MS_NOTIFY_URL = PropertiesUtil.getProperties("MS_NOTIFY_URL");
	// 畅捷支付配置
	public static final String CHANPAY_URL = PropertiesUtil.getProperties("CHANPAY_URL");
	// 环商通支付配置
	public static final String HUANPAY_URL = PropertiesUtil.getProperties("HUANPAY_URL");
	public static final String HUANPAY_NOTIFY_URL = PropertiesUtil.getProperties("HUANPAY_NOTIFY_URL");

	public static final String ERROR_REQEST = new Result("XX", "No Support Get!").toString();
	public static final String NOTIFY_TRANSURL = PropertiesUtil.getProperties("NOTIFY_TRANSURL");
	// 中信银行配置
	public static final String ZX_URL = PropertiesUtil.getProperties("ZX_URL");
	public static final String ZX_NOTIFY_URL = PropertiesUtil.getProperties("ZX_NOTIFY_URL");
	public static final String ZX_MCHID = PropertiesUtil.getProperties("ZX_MCHID");
	public static final String ZX_MCHSECRET = PropertiesUtil.getProperties("ZX_MCHSECRET");

	/* 天付宝 */
	public static final String TFB_SERVICE_URL = PropertiesUtil.getProperties("TFB_SERVICE_URL");
	public static final String TFB_NOTIFY_URL = PropertiesUtil.getProperties("TFB_NOTIFY_URL");
	public static final String TFB_MD5_SECRET_KEY = PropertiesUtil.getProperties("TFB_MD5_SECRET_KEY");
	public static final String TFB_MD5_SECRET_KEY_TEST = PropertiesUtil.getProperties("TFB_MD5_SECRET_KEY_TEST");
	/** 代付商户号 **/
	public static final String TFB_AGENT_PAY_SPID = PropertiesUtil.getProperties("TFB_AGENT_PAY_SPID");
	public static final String TFB_AGENT_PAY_SPID_TEST = PropertiesUtil.getProperties("TFB_AGENT_PAY_SPID_TEST");
	
	/*百度*/
	public static final String BD_APIKEY = PropertiesUtil.getProperties("BD_APIKEY");
    public static final String BD_SECRET_URL = PropertiesUtil.getProperties("BD_SECRET_URL");
    
    /*威付通*/
    public static final String WFT_MCH_ID = PropertiesUtil.getProperties("WFT_MCH_ID");
    public static final String WFT_KEY = PropertiesUtil.getProperties("WFT_KEY");
    public static final String WFT_REQ_URL = PropertiesUtil.getProperties("WFT_REQ_URL");
    public static final String WFT_NOTIFY_URL = PropertiesUtil.getProperties("WFT_NOTIFY_URL");

}
